﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1.DesignerPatter.Observer
{
    abstract class Observer
    {
        protected string name;
        protected Isubject Isub;

        public Observer(Isubject isub, string name)
        {
            this.Isub = isub;
            this.name = name;
        }
        public abstract void Update();
    }
}
